package com.hckjsec.cloud.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hckjsec.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 申办信息-公证材料对象 applets_business_material
 * 
 * @author cyt
 * @date 2021-08-23
 */
public class AppletsBusinessMaterial implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 配置id */
    @Excel(name = "配置id")
    private Long configId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 业务id */
    @Excel(name = "业务id")
    private Long businessid;

    /** 材料编号 */
    @Excel(name = "材料编号")
    private String material;

    /** 材料名称 */
    @Excel(name = "材料名称")
    private String materialname;

    /** 材料路径 */
    @Excel(name = "材料路径")
    private String materialpath;

    /** 材料类型 */
    @Excel(name = "材料类型")
    private String materialtype;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operatortime;

    public AppletsBusinessMaterial() {
    }

    public AppletsBusinessMaterial(Long businessid) {
        this.businessid = businessid;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setConfigId(Long configId)
    {
        this.configId = configId;
    }

    public Long getConfigId()
    {
        return configId;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setBusinessid(Long businessid)
    {
        this.businessid = businessid;
    }

    public Long getBusinessid()
    {
        return businessid;
    }
    public void setMaterial(String material)
    {
        this.material = material;
    }

    public String getMaterial()
    {
        return material;
    }
    public void setMaterialname(String materialname)
    {
        this.materialname = materialname;
    }

    public String getMaterialname()
    {
        return materialname;
    }
    public void setMaterialpath(String materialpath)
    {
        this.materialpath = materialpath;
    }

    public String getMaterialpath()
    {
        return materialpath;
    }
    public void setMaterialtype(String materialtype)
    {
        this.materialtype = materialtype;
    }

    public String getMaterialtype()
    {
        return materialtype;
    }
    public void setOperatortime(Date operatortime)
    {
        this.operatortime = operatortime;
    }

    public Date getOperatortime()
    {
        return operatortime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("configId", getConfigId())
            .append("deptId", getDeptId())
            .append("businessid", getBusinessid())
            .append("material", getMaterial())
            .append("materialname", getMaterialname())
            .append("materialpath", getMaterialpath())
            .append("materialtype", getMaterialtype())
            .append("operatortime", getOperatortime())
            .toString();
    }
}
